package cn.growthgate.fgo.service;

import java.util.List;
import java.util.Map;

import cn.growthgate.fgo.common.base.BaseService;
import cn.growthgate.fgo.entity.Menu;
import cn.growthgate.fgo.entity.enums.Role;

/**
 * <p>
 * 菜单 服务类
 * </p>
 *
 * @author GrowthGate
 * @since 2019-04-27
 */
public interface IMenuService extends BaseService<Menu> {

	public List<Menu> getRootMenus();

	public List<Role> getRoles(Menu menu);

	public Map<Menu, List<Menu>> getUserMenus();

}
